<include file="System:leftmenu" />

<div class="content-right fl">
    <h1 class="content-right-title">证书1</h1>
    

<form id="form" aciton="" method="post" enctype="multipart/form-data">
<?php foreach($gradeArr as $grade) { ?>
    <div class="panel-single panel-single-light mgt20">
        <div class="formitems">
            <label class="fi-name"><?=$grade['grade_name']?>：</label>
            <div class="form-controls pdt5 j-imglistPanel">

                <div id="uploadPic">
                    <ul id="uploadlist" style=" width:200px;">
                        <li>
                            <div class="displayimg"><img src="<?php echo C("UPYUN_DOMAIN");?><?php echo C('ZHENGSHU_'.$grade['grade_id']);?>" width="200px" onerror="javascript:this.src='__STATIC__admin/images/error.png';"/></div>
                        </li>
                    </ul>
                    <div style="clear:both;"></div>
                </div>
                <span class="fi-help-text">建议图片尺寸为580px * 751px</span>
            </div>
        </div>
        <div class="formitems">
            <label class="fi-name">选择图片上传：</label>
            <div class="form-controls">
                <input type="file" class="input" name="ZHENGSHU_<?=$grade['grade_id']?>" value="上传">
                <span class="fi-help-text"></span>
            </div>
        </div>
    </div>
<?php } ?>


<div class="panel-single panel-single-light mgt20">

	<a href="javascript:$('#form').submit();" class="btn btn-primary j-add">保存</a>
	
</div>
</form>

</div>
